//
//  YYAboutAppView.m
//  Project
//
//  Created by Yown on 2024/2/5.
//

#import "YYAboutAppView.h"

#import <BIToolModule/BIProjectDefine.h>
#import <BIProjectModule/BIAppDefine.h>
#import <BIToolModule/NSString+Device.h>

@interface YYAboutAppView ()


@property (weak, nonatomic) IBOutlet UILabel *appNameLabel;
@property (weak, nonatomic) IBOutlet UILabel *appVersionLabel;

@end

@implementation YYAboutAppView


- (void)awakeFromNib {
    [super awakeFromNib];
    
    self.backgroundColor = [UIColor loadColorFromString:@"#F6F6F6"];
    
    self.appNameLabel.textColor = [UIColor loadColorFromString:@"#333333"];
    self.appNameLabel.font = BIFont(18);
    self.appNameLabel.text = [NSString appName];
    
    self.appVersionLabel.textColor = [UIColor loadColorFromString:@"#828282"];
    self.appVersionLabel.font = BIFont(14);
    self.appVersionLabel.text = [NSString stringWithFormat:@"V%@", [NSString appVersion]];
}

@end
